//
//  GYChooseView.h
//  GYDemo
//
//  Created by Mrzhang on 2018/3/27.
//  Copyright © 2018年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

//筛选条件回调
typedef void(^chooseCallBack)(NSDictionary* paraDic);
//排序回调
typedef void(^categoryCallBack)(NSString* categoryStr);
typedef enum displayChooseViewType
{
    ChooseViewTypeSingle,
    ChooseViewTypeSingleCenter,
    ChooseViewTypeAllNoRegin,
    ChooseViewTypeAll,
    ChooseViewTypeStorage
}ChooseViewType;

@interface GYChooseView : UIView
@property(nonatomic,copy)chooseCallBack chooseBack;
@property(nonatomic,copy)categoryCallBack categoryback;
-(instancetype)initWithFrame:(CGRect)frame chooseViewType:(ChooseViewType)type;
-(void)setTotalCount:(NSString* )count;
-(void)setListFrame:(float)leftOrigin;
@end
